<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%--jstl을 쓰기 위해 사용 --%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %><%--숫자 포맷을 사용하기 위해 사용 --%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"  prefix="fn"%><%--함수들을 이용하기 위해 사용 --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--<script type="text/javascript" src="script/sms_asset_script.js"></script>-->
</head>
<body>
	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
		<tr>
			<th bgcolor="#cff8ff" valign="center" height="40px" align="center"><font size="4">자산 분류 기준</font></th>
		</tr>
		<tr>
			<td height="15px"></td>
		</tr>
		<tr>
		<!-- 내용 테이블 -->
		<td align="center">
				<form action="assetAction.do" method="post" name="assetBase">
					<c:choose>
						<c:when test="${requestScope.update=='Y' }">
							 <input type="hidden" name="mode" value="assetBase_update"></input>
						</c:when>
						<c:otherwise>
						    <input type="hidden" name="mode" value="assetBase_insert"></input>
						</c:otherwise>
					</c:choose>				
					<table class="tb06" border="0" cellpadding="0" cellspacing="1" >
					<tr>
						<td colspan="2" align="right"  class="botline">
							<table border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td class="notline"><a href="#" onclick="javascript: assetWrite('assetBase')"><img src="img/save_btn.jpg" /></a></td>
									<td class="notline"><a href="#" onclick="javascript: cancleWrite('assetBase')"><img src="img/cancel.gif" /></a></td>
								</tr>
							</table>						
						</td>
					</tr>
						<tr height="30px">
							<th width="80px" align="center" class="cal">NO</th>
							<td align="left">
								<c:choose>
									<c:when test="${requestScope.update=='Y' }">
										 <input type="text" name="asset_no" id="asset_no" style="border:#bfbfbf 1px solid; background-color: #ffffff;" maxlength="4" size="4" value="${requestScope.vo.asset_no }" readonly="readonly"></input>
									</c:when>
									<c:otherwise>
										<input type="text" name="asset_no" id="asset_no" style="IME-MODE: disabled; border:#bfbfbf 1px solid; background-color: #ffffff;" maxlength="4" size="4" value="${requestScope.maxNo }" onKeyDown='evKey(event)'  onkeyup="inputCheckSpecial(this)"></input>
									</c:otherwise>
								</c:choose>									
							</td>
						</tr>
						<tr height="30px">
							<th width="80px" align="center" class="cal">자산유형</th>
							<td align="left">
								<input type="text" name="asset_kind" id="asset_kind" style="border:#bfbfbf 1px solid; background-color: #ffffff;" maxlength="30" size="30" value="${requestScope.vo.asset_kind }"></input>
							</td>
						</tr>
						<tr>
							<th align="center" class="cal">분류기준</th>
							<td><textarea class="textfiled" name="asset_detail" rows="10" cols="50" id="asset_detail" style="border:#bfbfbf 1px solid; background-color: #ffffff;">${requestScope.vo.asset_detail }</textarea></td>
						</tr>
					</table>
				</form>
			</td>
		</tr>
	</table>
</body>
</html>